/********************************************************************
	Copyright (C) 2010 by Limiko
	Licence:	Lesser General Public License
	E-mail:		limiko.lau@gmail.com

	@Description:
	@file: 		XCrashReporter.h
	@date:	    2010-9-3   9:47
	@author:    Limiko    
*********************************************************************/
#ifndef _XCRASHREPORTER_H_
#define _XCRASHREPORTER_H_

#include <windows.h>

#ifdef XCRASHREPORTER_EXPORTS
#define XCRASHREPORTER_EXPORTS __declspec(dllexport)
#else
#define XCRASHREPORTER_EXPORTS __declspec(dllimport)
#endif

///  
/// \class XCrashReporter
class XCRASHREPORTER_EXPORTS XCrashReporter
{
public:
	typedef void (*Callback)(void);
	static Callback CallbackFunc;
	static bool InitializeInProcess(const wchar_t* _pathStr, Callback _callBack = NULL);
	static void SetSender(const wchar_t* _UrlStr);
	static void AddSenderParm(const wchar_t* _key, const wchar_t* _value);
protected:
private:
	
};//class XCrashReporter
#endif //_XCRASHREPORTER_H_

/*
 *
 * Revision 1.0   2010-9-3   9:47  Limiko
 * *** empty log message ***
 *
 */